package com.anyext.storage.impl;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

import com.anyext.storage.BusinessTemplate;
import com.anyext.storage.Page;
import com.anyext.storage.SessionException;
import com.anyext.storage.SqlMapTemplate;

public class BusinessTemplateImpl implements BusinessTemplate {
	
	private SqlMapTemplate sqlMapTemplate;
	
	protected BusinessTemplateImpl(SqlMapTemplate template) {
		this.sqlMapTemplate = template;
	}

	@Override
	public int save(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int save(Collection<?> businesses) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int sava(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int sava(String businessName, Collection<?> entities) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(Collection<?> businesses) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(String businessName, Collection<?> entities) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(Collection<?> businesses) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(String businessName, Collection<?> entities) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(Collection<?> businesses) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(String businessName, Collection<?> entities) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteById(Class<?> businessClass, Serializable id) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteById(String businessName, Serializable id) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public <T> T load(Class<T> businessClass, Serializable id) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T> T get(Class<T> businessClass, Serializable id) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int count(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int count(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public <T> T queryOne(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T> T queryOne(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T> List<T> queryList(Object business) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T> List<T> queryList(String businessName, Object entity) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T> List<T> queryList(Object business, Page page) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T> List<T> queryList(String businessName, Object entity, Page page) throws SessionException {
		// TODO Auto-generated method stub
		return null;
	}

}
